Explicit substitution calculi with de Bruijn indices and intersection type systems
نویسندگان
چکیده
Explicit substitution calculi propose solutions to the main drawback of the λ-calculus: substitutiondefined as a meta-operation in the system. By making explicit the process of substitution, thetheoretical system gets closer to an eventual implementation. Furthermore, for implementationpurposes, many explicit substitution systems are written with de Bruijn indices. The λ-calculuswith de Bruijn indices, called λdB , assembles each α-class of λ-terms in a unique term, which ismore “machine-friendly” than the classical version with variables. Intersection types (IT) providefinitary type polymorphism satisfying important properties like principal typing (PT), which allowsthe type system to include features such as data abstraction (modularity) and separate compilation.Although some explicit substitution calculi with simple type systems are well investigated, providingnice applications such as specialised implementations of higher order unification, more elaboratedtype systems such as IT have not been proposed/studied for these calculi. In an earlier work,we introduced IT systems for two explicit substitution calculi, λσ and λse, conjecturing them tosatisfy the basic property of subject reduction, which guarantees the preservation of types duringcomputations. In this paper, we take a deeper look at these systems, providing an insight intotheir development which helps us construct for the first time the proofs of subject reduction omittedbefore. This new result also 1) enables us to prove another new result: subject reduction for an ITsystem for λdB , and 2) allows us to introduce for the first time an IT system for the λυ-calculus.
منابع مشابه
Intersection Type Systems and Explicit Substitutions Calculi
The λ-calculus with de Bruijn indices, called λdB, assembles each α-class of λ-terms into a unique term, using indices instead of variable names. Intersection types provide finitary type polymorphism satisfying important properties like principal typing, which allows the type system to include features such as data abstraction (modularity) and separate compilation. To be closer to computation a...
متن کاملPrincipal Typings in a Restricted Intersection Type System for Beta Normal Forms with De Bruijn Indices
The λ-calculus with de Bruijn indices assembles each α-class of λterms in a unique term, using indices instead of variable names. Intersection types provide finitary type polymorphism and can characterise normalisable λ-terms, that is a term is normalisable if and only if it is typeable. To be closer to computations and to simplify the formalisation of the atomic operations involved in β-contra...
متن کاملCut Rules and Explicit Substitutions RENÉ
We introduce a method to associate calculi of proof terms and rewrite rules with cut elimination procedures for logical deduction systems (i.e., Gentzen-style sequent calculi) in the case of intuitionistic logic. We illustrate this method using two different versions of the cut rule for a variant of the intuitionistic fragment of Kleene's logical deduction system G3. Our systems are in fact cal...
متن کاملExplicit Substitutions and Intersection Types
Calculi of explicit substitutions have been introduced to give an account to the substitution process in lambda calculus. The idea is to introduce a notation for substitutions explicitely in the calculus. In other words one makes substitutions first class citizens whereas the classical lambda calculus leaves them in the meta-theory. Originally, the expression “explicit substitution” and the con...
متن کاملBridging de Bruijn Indices and Variable Names in Explicit Substitutions Calculi
Calculi of explicit substitutions have almost always been presented using de Bruijn indices with the aim of avoiding α-conversion and being as close to machines as possible. De Bruijn indices however, though very suitable for the machine, are difficult to human users. This is the reason for a renewed interest in systems of explicit substitutions using variable names. We believe that the study o...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Logic Journal of the IGPL
دوره 23 شماره
صفحات -
تاریخ انتشار 2015